package com.bwie.entity;

import lombok.Data;

@Data
public class ApiResponse {
    private String id;
    private String object;
    private Long created;
    private String model;
    private Choice[] choices;
    private Usage usage;
}

@Data
class Choice {
    private Integer index;
    private Message message;
    private String finish_reason;
}

@Data
class Message {
    private String role;
    private String content;
}

@Data
class Usage {
    private Integer prompt_tokens;
    private Integer completion_tokens;
    private Integer total_tokens;
}